﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="客房信息.aspx.cs" Inherits="客房信息" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .auto-style1 {
            width: 100px;
        }
        .auto-style2 {
            height: 133px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="right" Runat="Server">
    <table style="WIDTH: 703px; HEIGHT: 51px" cellSpacing="0" borderColorDark="#cccccc" cellPadding="5" align="center" borderColorLight="#000000" border="1">
				    
    				<tr bgColor="#cccccc">
					<td vAlign="center" align="middle" bgcolor="Maroon"   colSpan="2"><FONT size="6"><STRONG><FONT face="楷体_GB2312" color="yellow"  > 酒店客房管理</FONT> <FONT size="4"  color="yellow">--客房信息</FONT></STRONG></FONT>
					</td>
				</tr> </table>

    <br /><center>
    
        <br />
            <asp:Button ID="bt1" runat="server" BackColor="#f52b00" BorderStyle="None" Height="40px"  Text="显示所有房间信息" Width="136px" style="background-color: #66FFFF" OnClick="bt1_Click" />

            <br />
    
        <br />
    
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
             DataKeyNames="G_number" OnRowCancelingEdit="GridView1_RowCancelingEdit"
             OnRowDataBound="GridView1_RowDataBound" 
            OnRowDeleting="GridView1_RowDeleting" 
            OnRowEditing="GridView1_RowEditing" 
            OnRowUpdating="GridView1_RowUpdating" 
            OnSelectedIndexChanged="GridView1_SelectedIndexChanged" 
            OnSorting="GridView1_Sorting" Width="439px" EnablePersistedSelection="True">
            <Columns>
                <asp:BoundField DataField="G_number" HeaderText="房间号" />
                <asp:BoundField DataField="G_price" HeaderText="价格" />
                <asp:BoundField DataField="G_type" HeaderText="房间类型" />
                <asp:BoundField DataField="G_money" HeaderText="押金" />
                <asp:BoundField DataField="G_free" HeaderText="是否空闲" />
                <asp:CommandField ShowEditButton="True" />
                <asp:CommandField ShowDeleteButton="True" />
            </Columns>
        </asp:GridView>
        <br />
            <asp:Button ID="bt3" runat="server" BackColor="#f52b00" BorderStyle="None" Height="40px"  Text="显示已住房间信息" Width="136px" style="background-color: #66FFFF" OnClick="bt3_Click"  />

            <br />
        <br />
    </center>

    <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False">
        <Columns>
            <asp:BoundField DataField="U_name" HeaderText="客户姓名" />
            <asp:BoundField DataField="U_number" HeaderText="客户证件号" />
            <asp:BoundField DataField="U_phone" HeaderText="电话号码" />
            <asp:BoundField DataField="U_rdate" HeaderText="入住日期" />
            <asp:BoundField DataField="U_tdate" HeaderText="退房日期" />
            <asp:BoundField DataField="U_prnum" HeaderText="人数" />
            <asp:BoundField DataField="G_number" HeaderText="房间号" />
            <asp:BoundField DataField="G_type" HeaderText="类型" />
        </Columns>
    </asp:GridView>

<br />

    <br />



</asp:Content>

